package com.kilomob.grady.spring;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * 
 * Spring namespace解析类
 * 
 *   
 * @author zhouzhixiang  
 * @date 2016年12月30日
 * @since 1.0
 */
public class GradyNamespaceHandler extends NamespaceHandlerSupport {
    
    public void init() {
        registerBeanDefinitionParser("service", new GradyBeanServiceParser());
        registerBeanDefinitionParser("reference", new GradyBeanReferenceParser());
        registerBeanDefinitionParser("server", new GradyBeanServerParser());
        registerBeanDefinitionParser("client", new GradyBeanClientParser());
    }
}

